<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>

<script type="text/javascript" src="./traceur.js"></script>
<script type="text/javascript" src="./BrowserSystem.js"></script>
<script type="text/javascript" src="./bootstrap.js"></script>
<script type="text/javascript">
// ES5 
function fun(){
	console.log('I am outside');
};
(function(){
	if(false){
		function fun(){
			console.log('i am inside');
		};
	};
	fun(); // i am inside
}());
</script>
<script type="text/traceur">
// ES6 
function fun(){
	console.log('I am outside');
};
{
	if(false){
		function fun(){
			console.log('i am inside');
		};
	};
	fun(); // i am inside
}
</script>

</html>